using System;
using CommandSystem;
using Exiled.API.Features;

namespace RgCore.Commands.RgRACommands
{
    public class EndRound : ICommand
    {
        public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
        {
            Round.EndRound(true);
            response = string.Empty;
            return true;
        }

        public string Command { get; } = "endround";
        public string[] Aliases { get; } = Array.Empty<string>();
        public string Description { get; } = "结束回合命令";
    }
}